<!--包含头部文件-->

{include file="public/head" /}

<body>

<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 订单列表 </nav>

<div class="page-container">

	<form acction="" method="get" class="mt-20">


		<div class="text-c"> 日期范围：

			<input type="text" onfocus="WdatePicker()" id="datemin" class="input-text Wdate" name="start_time" style="width:120px;" placeholder="{$start_time|default='开始时间'}">

			<input type="text" onfocus="WdatePicker()" id="datemax" class="input-text Wdate" name="end_time"style="width:120px;" placeholder="{$end_time|default='结束时间'}">

			<button type="submit" class="btn btn-success radius" id="" name=""><i class="Hui-iconfont">&#xe665;</i> 搜订单</button>


		</div>


	</form>
	<div class="mt-20">
			{volist name="$orderData1" id="vo"}
			<table class="table table-border table-bordered table-bg table-hover table-sort mt-20">

				<thead>
					<tr><th colspan="6">订单号：{$vo.out_trade_no}&nbsp;&nbsp;订单总价：{$vo.total_price} &nbsp;&nbsp;下单时间：{$vo.time|date="Y-m-d"}&nbsp;&nbsp;
						{if condition='$vo.status neq 0'}
						支付时间：{$vo.pay_time|date="Y-m-d"}
						{/if}
						&nbsp;&nbsp;支付方式：{if condition='$vo.status eq 1'}微信支付{else/}支付宝{/if}&nbsp;&nbsp;支付状态： 
						{switch $vo.status}
							{case 1}已支付{/case}
							{case 2}已完成{/case}
							{case 4}已发货未签收{/case}
							{default /}<span style="color: #f00;">待付款</span>
						{/switch}&nbsp;&nbsp;
						<a style="text-decoration:none" class="ml-5" href="{:url('order/edit',array('id'=>$vo.id))}" title="修改"><i class="Hui-iconfont">&#xe6df;</i></a>
					</th></tr>
					<tr class="text-c">

						<th width="250">订单</th>
						<th width="250">属性</th>
						<th width="250">金额</th>
						
					</tr>

				</thead>

				<tbody>
					{volist name="$vo.goods" id="vo1"}
					<tr class="text-c">
						<td><img src="{$vo1.goods_thumb}" style="width: 100px;height: 100px;margin-right: 15px;">{$vo1.goods_name}</td>
						<td>{$vo1.sku}</td>
						<td>{$vo1.amount}*{$vo1.goods_price}={php}echo(floatval($vo1['amount']*$vo1['goods_price']));{/php}</td>

					</tr>
					{/volist}
				</tbody>

			</table>
			{/volist}

			{$page|raw}
	
	</div>

</div>

<!--包含头部文件-->

{include file="public/foot" /}

